package com.dymall.cart.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties("hm.cart")//代表hm.cart中有关的属性
public class CartProperities {
    private Integer maxItems;
}
